Some coding style fixes
authorMatthias Clasen <mclasen@redhat.com>
Thu, 1 Dec 2011 04:49:23 +0000 (23:49 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 19 Dec 2011 17:51:08 +0000 (12:51 -0500)
gtk/gtkapplicationwindow.c

index cf7a29a3d6abc3fddcf62ee30e505d47527225f0..fefb7d2444ab7f8455efb86fb276598c62e8a935 100644 (file)
@@ -27,6 +27,7 @@
 #include "gtkcheckmenuitem.h"
 #include "gtkmenubar.h"
 #include "gactionmuxer.h"
+#include "gtkintl.h"
 
 /**
  * SECTION:gtkapplicationwindow
@@ -431,8 +432,10 @@ gtk_application_window_class_init (GtkApplicationWindowClass *class)
   object_class->dispose = gtk_application_window_dispose;
 
   gtk_application_window_properties[PROP_SHOW_APP_MENU] =
-    g_param_spec_boolean ("show-app-menu", "show application menu",
-                          "TRUE if the application menu should be included in the menubar at the top of the window",
+    g_param_spec_boolean ("show-app-menu",
+                          P_("Show application menu"),
+                          P_("TRUE if the application menu should be included "
+                             "in the menubar at the top of the window"),
                           FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
   g_object_class_install_properties (object_class, N_PROPS, gtk_application_window_properties);
   g_type_class_add_private (class, sizeof (GtkApplicationWindowPrivate));
@@ -865,8 +868,6 @@ items_changed (GMenuModel *model,
  * This function returns %NULL if @window has no associated
  * menu model.
  *
- * @menu may be a #GtkMenu or a #GtkMenuBar.
- *
  * Returns: A #GtkMenu that has been populated from the
  *     #GMenuModel that is associated with @window, or %NULL
  */